package com.xuecheng.basic.service;

import com.xuecheng.basic.domain.Dictionary;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.commons.model.vo.DictionaryVo;

/**
 * <p>
 * 数据字典 服务类
 * </p>
 *
 * @author 七安
 * @since 2022-09-19
 */
public interface DictionaryService extends IService<Dictionary> {

    /**
     * 根据code码查询对应的字典数据
     * @return 字典数据
     */
    DictionaryVo findByCode(String code);
}
